import re
str = '166 54a2.74f7.0326 DYNAMIC Gi1/0/11'
#str1 = '166 a4a2.74f7.0326 STATIC Port-channel1.189'
result = re.match('(^\d{1,4})\s+([A-Za-z0-9]{4}\.[A-Za-z0-9]{4}\.[A-Za-z0-9]{4})\s+([A-Za-z]+)\s+([A-Za-z]+.*\d$)',str.strip()).groups()
print('%(VlAN)-10s : %(VLAN-ID)s'%{'VlAN':'VLAN ID','VLAN-ID':result[0]})
print('%(MAC)-10s : %(MAC-ADDRESS)s'%{'MAC':'MAC','MAC-ADDRESS':result[1]})
print('%(Type)-10s : %(MAC-Type)s'%{'Type':'Type','MAC-Type':result[2]})
print('%(Interface)-10s : %(Interface-01)s'%{'Interface':'Interface','Interface-01':result[3]})